<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body id="body">
		<div id="example-1">
		  <button v-on:click="counter ++">增加 1</button>
		  <p>这个按钮被点击了 {{ counter }} 次。</p>
		</div>

		<!--<script src="http://cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script>-->
		<script src="vue.min.js"></script>

		<script type="text/javascript">
			var example1 = new Vue({
			  el: '#body',
			  data: {
			    counter: 0
			  }
			})
		</script>
	</body>

</html>